package com.car.advertising.entity;

import java.util.List;

/**
 * 开发者：LuoYi
 * Time: 2017 15:31 2017/5/3 05
 */

public class IncomeEntity {

    public String balance;
    public String drawAmt;
    public String profit;
    public List<SignList> signList;

    public IncomeEntity() {
        super();
    }

    public IncomeEntity(String balance, String drawAmt, String profit, List<SignList> signList) {
        this.balance = balance;
        this.drawAmt = drawAmt;
        this.profit = profit;
        this.signList = signList;
    }

    public String getBalance() {
        return balance;
    }

    public String getDrawAmt() {
        return drawAmt;
    }

    public String getProfit() {
        return profit;
    }

    public List<SignList> getSignList() {
        return signList;
    }

    @Override
    public String toString() {
        return "IncomeEntity{" +
                "balance='" + balance + '\'' +
                ", drawAmt='" + drawAmt + '\'' +
                ", profit='" + profit + '\'' +
                ", signList=" + signList +
                '}';
    }

    public class SignList {
        public String taskName;//项目名称
        public String signId; // 签到id
        public String signDate; //签到日期，到天
        public String profit;//当次签到收益

        public SignList(String taskName, String signId, String signDate, String profit) {
            this.taskName = taskName;
            this.signId = signId;
            this.signDate = signDate;
            this.profit = profit;
        }

        public String getTaskName() {
            return taskName;
        }

        public String getSignId() {
            return signId;
        }

        public String getSignDate() {
            return signDate;
        }

        public String getProfit() {
            return profit;
        }

        @Override
        public String toString() {
            return "SignList{" +
                    "taskName='" + taskName + '\'' +
                    ", signId='" + signId + '\'' +
                    ", signDate='" + signDate + '\'' +
                    ", profit='" + profit + '\'' +
                    '}';
        }
    }
}
